package com.umgsai.thread.thread31;

public class Main {
	public static void main(String[] args) throws InterruptedException {
		Object lock = new Object();
		ThreadA a = new ThreadA(lock);
		ThreadB b = new ThreadB(lock);
		ThreadC c = new ThreadC(lock);
		NotifyThread notifyThread = new NotifyThread(lock);
		c.start();
		b.start();
		a.start();
		Thread.sleep(2000);
		notifyThread.start();
	}
}
